import { http } from '@/utils/http'

// 查询宿舍列表
export const getHotelList = (params) => {
  return http.get('/business/TBaseRoom/roomInformation', params)
}

// 新增宿舍
export const addDormitory = (data) => {
  return http.post('/business/TBaseRoom/add', data)
}

// 编辑宿舍
export const editDormitory = (data) => {
  return http.post('/business/TBaseRoom/edit', data)
}

// 查询宿舍状态字典
export const getDormitoryStatus = () => {
  return http.get('/business/controller/roomDict')
}
